package com.h3c.nem.config.proConfig;

import com.h3c.nem.config.properties.EmailSendProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author chenyifan
 * @date 2022/6/22 13:46
 */
@Configuration
public class EmailSendPropertiesConfig {

    @Bean("baseOfferEmail")
    @ConfigurationProperties(prefix = "offer.email")
    public EmailSendProperties getProperties() {
        return new EmailSendProperties();
    }
}
